package com.ruoyi.file.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ToString
@ApiModel(value = "过磅单", description = "过磅单")
public class WarehouseInfoDto {


    private String title;

    @ApiModelProperty(value = "购买方入库单号")
    @ExcelProperty("购买方入库单号")
    private String inNum;

    @ApiModelProperty(value = "购买方入库过磅日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty("购买方入库过磅日期")
    private String buyerWeighDate;

    @ApiModelProperty(value = "车牌号")
    @ExcelProperty("车牌号")
    private String plateNo;

    @ApiModelProperty(value = "购买方入库货品名称")
    @ExcelProperty("购买方入库货品名称")
    private String buyerGoodsName;

    @ApiModelProperty(value = "司机姓名")
    @ExcelProperty("司机姓名")
    private String driverName;

    @ApiModelProperty(value = "司机联系方式")
    private String driverPhone;



    @ApiModelProperty(value = "购买方入库过磅单皮重")
    @ExcelProperty("购买方入库过磅单皮重")
    private Double buyerTareWeight;



    @ApiModelProperty(value = "购买方联系电话")
    @ExcelProperty("购买方联系电话")
    private String buyerPhone;

    @ApiModelProperty(value = "购买方入库过磅单毛重")
    @ExcelProperty("购买方入库过磅单毛重")
    private Double buyerGrossWeight;

    @ApiModelProperty(value = "购买方入库过磅单净重")
    @ExcelProperty("购买方入库过磅单净重")
    private Double buyerNetWeight;


    @ApiModelProperty(value = "购买方入库过磅单扣重")
    @ExcelProperty("购买方入库过磅单扣重")
    private Double buyerDeductWeight;

    @ApiModelProperty(value = "购买方入库单计量单位")
    @ExcelProperty("购买方入库单计量单位")
    private String buyerGoodsUnit;

    @ApiModelProperty(value = "销售方名称")
    private String sellerName;

    @ApiModelProperty(value = "销售方联系电话")
    private String sellerPhone;




    @ApiModelProperty(value = "经办人")
    private String handler;
    @ApiModelProperty(value = "经办电话")
    private String handlerPhone;


}